package com.spring.bean;

/**
 * 演示有参构造注入属性
 */
public class Book {
    public Long id;
    public String bookName;
    public String author;

    /**
     * 有参构造注入属性
     * @param id
     * @param bookName
     * @param author
     */
    public Book(Long id, String bookName, String author) {
        this.id = id;
        this.bookName = bookName;
        this.author = author;
    }
}
